<%@ include file="layout/taglib.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Course management</title>
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/resources/css/style1.css">
<link rel="stylesheet"
	href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.2/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css">

</head>
<body>
	<div class="container">Command Management</div>
	<div id="formCat" class="cadre">
		   <table>
				<tr>
					<td>ID</td>
					<td>${command.idCmd}</td>
				</tr>
				<tr>
					<td>Date</td>
					<td>${command.dateCmd}</td>
				</tr>
                <tr>
					<td>Name</td>
					<td>${command.nameClient}</td>
				</tr>
				<tr>
					<td>Tel</td>
					<td>${command.telClient}</td>
				</tr>
                <tr>
					<td>Mail</td>
					<td>${command.mailClient}</td>
				</tr>
                <tr>
					<td>Address</td>
					<td>${command.adressClient}</td>
				</tr>
                <tr>
					<td>City</td>
					<td>${command.cityClient}</td>
				</tr>

				
			</table>
	
	
	         <table class="table table-striped" id="table_basket">

							<thead>
								<tr>
									<th><t:message code="product"/></th>
									<th><t:message code="price"/> (VND) </th>
									<th><t:message code="quantity"/></th>
								</tr>
							</thead>
							<tbody>
							   <c:forEach items="${lstcmdl}" var="ht">
								<tr>
									<td> 
									 
									 <a href="<%=request.getContextPath()%>/lstcourses/course?idCor=${ht.key.idCourse}"  >
									   <c:out value="${ht.key.titleProd}" />
									 </a>	
									  
									</td>
									<td> <c:out value="${ht.key.price}"/> </td>
									<td> <c:out value="${ht.value}" /></td>
								</tr>
                                </c:forEach> 
							</tbody>
						</table>
						
						
						<div class="form-group">
							<label class="col-sm-3 control-label"  id="label"><label>Total : </label></label>
							<div class="col-sm-9">
								<p class="form-control-static" style="padding-top: 0px;">${total} VND</p>
							</div>
						</div>
	</div>


	
</body>
</html>